<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
    <head>
        <title></title>
        <meta charset="utf-8">
        <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
        <link rel="stylesheet" href="skin/base.css">
		<script src="js/config.js"></script>
		<script src="js/common.js"></script>
        <script src="js/zy_control.js"></script>
        <script src="js/zy_click.js"></script>
    </head>
    <body ontouchstart>
    	<div id="main" class="box-ver box">
			<div id="header">
				<header>
					<div id="toptype" class="tab2">
	                	<div id="tweet1" class="cur" ><span ontouchstart="zy_touch('down')" onclick="filter('tweet1','0');">最新动弹</span></div>
						<div id="tweet2" ><span ontouchstart="zy_touch('down')" onclick="filter('tweet2','-1');">热门动弹</span></div>
						<div id="tweet3" ><span ontouchstart="zy_touch('down')" onclick="filter('tweet3','1');">我的动弹</span></div>
					</div>
					<div class="talk" onclick="uexWindow.open('tweet_pub', '0', 'tweet_pub.html', 2, '', '', 0x0);"></div>
				</header>
			</div>
			<div id="content" class="loading"></div>
        	<div id="footer">
            	<ul>
					<li ontouchstart="zy_touch('down')" onclick="openage('index');"><div class="news"></div><span>综合</span></li>
					<li ontouchstart="zy_touch('down')" onclick="openage('post');"><div class="talk"></div><span>问答</span></li>
					<li class="cur"><div class="life"></div><span>动弹</span></li>
					<li ontouchstart="zy_touch('down')" onclick="openage('life');"><div class="home"></div><span>我的</span></li>
					<li ontouchstart="zy_touch('down')" onclick="openage('more');"><div class="more"></div><span>更多</span></li>
                </ul>
        	</div>
		</div>
    </body>
    <script>
    	zy_init();
		
		
		function openage(url){
			var winname = url=='index'?'root':url;
			uexWindow.open(winname, '0', url+'.html', 0, '', '', 0x0);
		}
		
		function filter(id,user){
			var divs=$$('toptype').getElementsByTagName("div");
			for(var i=0;i<divs.length;i++)
			{
				 if(divs[i].id !=id)
				 {
				 	$$(divs[i].id).className='';
				 }else{
				 	$$(divs[i].id).className='cur';
				 }
			}
			localStorage['tweet_list_user'] = user;
			zy_con("content", "tweet_list.html", 0, $$("header").offsetHeight);
		}
		

		
		
        window.uexOnload = function(type){
            if (!type) {
				localStorage['tweet_list_user'] = 0;
				zy_con("content", "tweet_list.html", 0, $$("header").offsetHeight);
				window.onorientationchange=window.onresize=function(){
					zy_resize("content",0,$$("header").offsetHeight);				
				}
            }
        }

		
    </script>
</html>